/* ========== ESTILOS PARA RECUPERACIÓN DE CONTRASEÑA ========== */

.recovery-step {
    display: none;
}

.recovery-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recovery-description {
    text-align: center;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 0 10px;
}

.success-message {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
    border-left: 4px solid #4CAF50;
}

.back-to-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.back-to-login:hover {
    color: #4CAF50;
}

.back-to-login svg {
    transition: transform 0.3s;
}

.back-to-login:hover svg {
    transform: translateX(-3px);
}

/* ========== INDICADOR DE FORTALEZA ========== */

.password-strength {
    margin-top: 15px;
    margin-bottom: 20px;
}

.strength-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.strength-label span {
    font-weight: 600;
}

.strength-bars {
    display: flex;
    gap: 6px;
    height: 6px;
}

.strength-bar {
    flex: 1;
    background: #E0E0E0;
    border-radius: 3px;
    transition: background-color 0.3s;
}

/* Estados de fortaleza */
.password-strength.weak .strength-label span {
    color: #D32F2F;
}

.password-strength.weak .strength-bar:nth-child(1) {
    background: #D32F2F;
}

.password-strength.medium .strength-label span {
    color: #F57C00;
}

.password-strength.medium .strength-bar:nth-child(1),
.password-strength.medium .strength-bar:nth-child(2) {
    background: #F57C00;
}

.password-strength.good .strength-label span {
    color: #FBC02D;
}

.password-strength.good .strength-bar:nth-child(1),
.password-strength.good .strength-bar:nth-child(2),
.password-strength.good .strength-bar:nth-child(3) {
    background: #FBC02D;
}

.password-strength.strong .strength-label span {
    color: #4CAF50;
}

.password-strength.strong .strength-bar {
    background: #4CAF50;
}

/* ========== ICONO DE ÉXITO ========== */

.success-icon {
    text-align: center;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 480px) {
    .recovery-description {
        font-size: 13px;
    }
    
    .login-box {
        padding: 30px 20px;
    }
}